package com.dreamwhale.accelerator.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户收支记录表
 * </p>
 *
 * @author Author
 * @since 2020-08-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("al_user_financial_records")
public class AlUserFinancialRecords implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 主键id
     */
    @TableId(value = "ufr_id", type = IdType.AUTO)
    private Integer ufrId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 金额
     */
    private BigDecimal ufrMoney;

    /**
     * 当前余额
     */
    private BigDecimal ufrNowMoney;

    /**
     * 类型(1.返佣2.充值3.提现4.购买会员)
     */
    private Integer ufrType;

    /**
     * 状态(1.支出2.收入)
     */
    private Integer ufrStatus;

    /**
     * 是否删除(0.否1.是)
     */
    private Integer ufrDel;

    /**
     * 创建时间
     */
    private LocalDateTime ufrCreateTime;


}
